<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
        <h1>
            AttendanceRecord一览
        </h1>
        <ol class="breadcrumb">
            <li><a ui-sref="app.dashboard"><i class="fa fa-dashboard"></i>主页</a></li>
            <li>AttendanceRecord一览</li>
        </ol>
    </section>

    <!-- Main content -->
    <section class="content">
        <div class="row">
            <div class="col-xs-10">
                <div class="box box-primary">
                    <div class="box-header with-border">
                        <h3 class="box-title">查询结果</h3>
                    </div>
                    <div class="box-body">
                        <table ng-table="vm.tableParams" class="table table-condensed table-bordered table-striped" template-header="template/smartNgTable/SearchHeader.html">
                            
                            <colgroup>

                                <col class="col-sm-2"/>
                                <col class="col-sm-2"/>
                                <col class="col-sm-2"/>
                                <col class="col-sm-2"/>
                                <col class="col-sm-2"/>
                            </colgroup>
                            <tr ng-repeat="item in $data">
                                <td data-title="'EmployeId'" ng-bind="item.employeId">
                                </td>
                                <td data-title="'CheckInDate'" ng-bind="item.checkInDate|date: 'yyyy-MM-dd'"></td>
                                <td data-title="'StartTime'" ng-bind="item.startTime|date: 'yyyy-MM-dd'"></td>
                                <td data-title="'EndTime'" ng-bind="item.endTime|date: 'yyyy-MM-dd'"></td>
                                <td data-title="'操作'">
                                    <button class="btn btn-primary btn-xs" ng-click="vm.edit(item)">编辑</button>
                                    <button class="btn btn-danger btn-xs" ng-click="vm.remove(item)">删除</button>
                                </td>
                            </tr>
                            <tr ng-show="$data.length <= 0" >
                                <td colspan="4" class="text-center">没有数据</td>
                            </tr>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </section><!-- /.content -->
</div><!-- /.content-wrapper -->